﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SQLDeployAnything.Data.DeploymentVariable
{
    public enum VariableType : byte
    {
        /// <summary>
        /// HardCoded - Value supplied will replace Variable name
        /// </summary>
        HardCoded = 0,
        /// <summary>
        /// Environment_SQLServer - Will pull the SQL Server name from the connection who's name is supplied in value field, for the selected environment at deploy-time.
        /// </summary>
        Environment_SQLServer = 1,
        /// <summary>
        /// Environment_Database - Will pull the Database name from the connection who's name is supplied in value field, for the selected environment at deploy-time.
        /// </summary>
        Environment_Database = 2,
        /// <summary>
        /// Environment_DeployUser - Will pull the User name of the user that is running the deployment.
        /// </summary>
        Environment_DeployUser = 3,
        /// <summary>
        /// Environment_SQLUser - Will pull the User Name of the SQL user supplied on the connection who's name is supplied in the value field, for the selected environment at deploy-time.
        /// </summary>
        Environment_SQLUser = 4,
        /// <summary>
        /// Environment_SQLUserPassword - Will pull the User Name's password of the SQL user supplied on the connection who's name is supplied in the value field, for the selected environment at deploy-time.
        /// </summary>
        Environment_SQLUserPassword = 5,
        /// <summary>
        /// Deployment_Version - the Version Number supplied in the Deployment file.
        /// </summary>
        Deployment_Version = 10,
        /// <summary>
        /// Deployment_StepName - the Name of the currently executing Deployment Step.
        /// </summary>
        Deployment_StepName = 11,
        /// <summary>
        /// Deployment_StepNumber - The Number of the currently executing Deployment Step.
        /// </summary>
        Deployment_StepNumber = 12,
        /// <summary>
        /// Deployment_TaskName - The Name of the currently executing Deployment Task.
        /// </summary>
        Deployment_TaskName = 13,
        /// <summary>
        /// Deployment_TaskNumber - the Number of the currently executing Deployment Task (relative to deployment Step).
        /// </summary>
        Deployment_TaskNumber = 14,
        /// <summary>
        /// Environment_Name - The name of environment the deployment is being run against.
        /// </summary>
        Environment_Name=6
    }
}
